package org.springblade.modules.repair.vo.statistics.by;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @Date 11:41 2022/11/29
 * @Description {
 *    保养统计页面工单状态详情
 * }
 * @Author lsay
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class CheckStatisticsStatusCountVO extends CheckStatisticsStatusDetailVO {

	/**
	 * 表格首列 组名或人名
	 */
	private String label;

	/**
	 * 未执行
	 */
	private Long toStart;

	/**
	 * 进行中
	 */
	private Long underway;

	/**
	 * 提交任务
	 */
	private Long commit;

	/**
	 * 已完成
	 */
	private Long finished;

	/**
	 * 维保签字
	 */
	private Long maintainSignature;

	public CheckStatisticsStatusCountVO(String label) {
		this.label = label;
		this.toStart = 0L;
		this.underway = 0L;
		this.commit = 0L;
		this.finished = 0L;
		this.maintainSignature = 0L;
		this.setToStartPer(BigDecimal.valueOf(0.0));
		this.setUnderwayPer(BigDecimal.valueOf(0.0));
		this.setCommitPer(BigDecimal.valueOf(0.0));
		this.setFinishedPer(BigDecimal.valueOf(0.0));
		this.setMaintainSignaturePer(BigDecimal.valueOf(0.0));
	}



}
